package com.foreverwin.mes.meapi.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.meapi.model.Certification;
import com.foreverwin.mes.meapi.model.UserCert;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Syngna
 * @since 2020-01-14
 */
public interface UserCertService extends IService<UserCert> {

    /**
     * 分页查询
     *
     * @param frontPage
     * @return
     */
    Page<UserCert> selectPage(FrontPage<UserCert> frontPage, UserCert userCert);

    List<UserCert> selectList(UserCert userCert);

    List<Certification> getCertByUserBo(String userBo);
}